home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
- IBMODEM.BAS
-
- A Communcations Program For
- The
- I.B.M Personal Computer
- &
- D.C. Hayes Smartmodem
-
- (C) Copyright 1982
-
- Russ Lane
-
-
-
-
-
-
-
-
-
-
-
-
- Required Hardware :
- IBMPC with at least 64K of RAM
- Asynchronous Communication Adapter
- 1 Disk Drive
- D.C. Hayes SmartModem
- Display monitor
-
- Optional Hardware :
- Parallel Printer
-
- Required Software :
- IBM Advanced Basic
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Function Key 1 :
-
- This key will switch between the On-Line and Off-Line states.
- When On-Line, all data typed at the keyboard will be sent to the
- modem. When Off-Line, nothing will be sent to the modem.
-
-
- Function Key 2 :
-
- This will provide a LOCAL echo. When activated, anything typed
- at the keyboard will be sent to the modem and the screen. Use
- this when communicating with a system that does NOT echo what YOU
- send it. If you find that YOU cannot see what YOU are typing,
- then you should active this switch. This is called Half-Duplex.
-
-
- Function Key 3 :
-
- This will provide an echo to the HOST system. If the computer
- you are communicating with complains that HE cannot see what HE
- is typing, then activate this switch.
-
-
- Function Key 4 :
-
- This is how to make a phone call. When you press this, you will
- see a phone directory. You can either enter the letter that
- corresponds to the number you wish to dial (upper or lower case)
- or enter any legitimate phmne number.
-
-
- Function Key 5 :
-
- This will display a menu giving a brief description of the
- functions of the Function Keys.
-
-
-
-
-
-
-
-
-
-
-
-
- Function Key 6 :
-
- This will switch the printer on and (hit it again) switch it off.
- Anything that is sent to and/or received from the modem will be
- sent to the printer. If you missed something that you wanted a
- hard copy of, Shift-PrtSc will print the screen.
-
-
-
-
-
-
-
- Function Key 7 :
-
- This enables you to SAVE any incoming data to a file on a
- diskette. You will be asked for a file name < [d:] FN.FT > .
- If a file already exists with that name, I'll warn you of the
- error and abort. Otherwise, the file will be opened and any - ANY
- - incoming Ascii characters will be dumped to the file. The file
- WILL REMAIN OPEN until you press Key 7 again. The first and the
- last few lines of the file might be garbage. You can easily
- remove it with an offline editor such as EDLIN or PMATE.
-
-
- Function Key 8 :
-
- This will SEND a file out the modem to the other guy. The file
- MUST be in Ascii format. (Saved in Basica with the ,A option or
- entered offline with an editor such as EDLIN or PMATE.
- You will be asked for the name of the file < [d:] FN.FT >. If it
- doesn't exist, I'll let you know the problem. Otherwise, I'll
- start dumping it to the modem.
-
-
- Function Key 9 :
-
- This will change the word structure. When you start the program,
- the structure will be Even Parity, with 7 Data Bits. Pressing
- this key will change it to No Paritq with 8 Data Bits. (Press
- again to return to No Parity, 8 Bits.)
-
-
- Function Key 10 :
-
- This will stop the program and return to Basica command level.
- This will NOT hang up the modem. (See ALT + Key 10.)
-
-
-
-
-
-
-
- Alternate + Function Key
-
-
-
- Alt + Key 3 :
-
- This will change the Baud rate to 300
-
-
- Alt + Key 4 :
-
- This will continuously dial a number until a connection is
- established or until you abort by pressing the ESC key two times.
- As with Key 4 (by itself), you will be shown the directory and
- asked for your choice. The speaker in the modem will be turned
- off. You will be shown how many times the call was placed so you
- can see that I'm hard at work. If and when the call gets
- through, an `larm will sound until you press any character.
- (I suggest that you press the ENTER key since this is the
- first character that the host system will be looking for.)
-
-
- Alt + Key 5 :
-
- This will change the Baud rate to 450.
-
-
- Alt + Key 6 :
-
- This will change the Baud rate to 600.
-
-
- Alt + Key 7 :
- This will allow you to SAVE data to the diskette with Ward
- Christiensen's XMODEM Protocol. As with Key 7 (by itself), you
- will be asked for the name of the file and we'll proceed from
- there.
-
-
- Alt + Key 8 :
-
- This will SEND a file with the XMODEM protocol.
-
-
- Alt + Key 10 :
-
- This will hang up the modem and remain On-Line.
-
-
-
-
-
-
-
-
- Notes :
-
- When you bring up BASICA, do it with a 8192 byte communications
- buffer. I.e. BASICA/C:8192 I would even create an auto-exec
- file which would look like this :
- BASICA IBMODEM/C:8192 (See page 2-16 in the IBM/DOS manual.)
- Three is the maximum number of files the program will use.
-
-
- Keys 1, 2, 3, 6, and 9 are toggles.
- They will switch back and forth from one state and another.
- Press one of these keys once, and you will switch to one state.
- Press that same key again and you will switch to the original
- state, etc...
-
-
- Switch #1 of the Smartmodem configuration switches MUST be UP.
- Switch #6 MUST be DOWN.
- The others will not effect the operation of this program.
-
-
- To change or make additions to the telephone directory, get into
- BASICA, LOAD"IBMODEM and LIST 10000-11000. Make your changes
- and don't forget to SAVE"IBMODEM".
-
-
- Changing the Baud Rate or the Word Structure will NOT hang up the
- modem.
-
-
- If you have any questions or problems, please feel free to
- contact me.
-
-
-
-
-
- Russ Lane
- 804 Forest Ave.
-
-
-
-
-
-
-
-
-
-
-
-
-